//
//  UIColor+XMRandom.h
//  XMKit
//
//  Created by chenming on 2017/11/1.
//  Copyright © 2017年 ChenXiaoMing. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIColor (XMRandom)

/**
 *(instancetype) = (UIColor *)属于同一类
 */

/** 随机颜色 */
+ (UIColor *)xm_randomColor;

/** 十六进制字符串颜色 */
+ (UIColor *)xm_colorWithHexString:(NSString *)color alpha:(CGFloat)alpha;

/** RGB颜色 */
+ (instancetype)xm_colorWithRed:(uint8_t)red green:(uint8_t)green blue:(uint8_t)blue;

@end
